package ee.subjects.backend.model.dao;

import java.util.List;

import ee.subjects.backend.model.data.Customer;


public interface CustomerDAO 
{
	public int insertCustomer(Customer customer);
	public boolean deleteCustomerById(int customerId);
	public Customer findCustomerById(int customerId);
	public boolean updateCustomer(Customer updatedCustomerObject);
	public boolean deleteSubjectFromCustomers(int subjectId, int subjectType);
	
	public boolean isSubjectACustomer(int subjectId, int subject_typeId);
	public int insertSubjectAsACustomer(int subjectId, int subject_typeId);
	public Customer getCustomerBySubjectId(int subjectId, int subject_typeId);
	public List<Customer> getAllCustomers();
}
